package com.hzsk.lisence.service;

import com.github.pagehelper.PageInfo;
import com.hzsk.lisence.config.myexception.BaseException;
import com.hzsk.lisence.entity.EmProducePlanEntity;
import com.hzsk.lisence.entity.request.ProducePlanRequest;

/**
 * @Description :
 * @Date : 2024/8/20
 * @Author : ChenJin
 * @Version : v1.0.0
 **/
public interface EmProducePlanService {
    
    Boolean syncProducePlan(EmProducePlanEntity emProducePlanEntity) throws BaseException;

    PageInfo<EmProducePlanEntity> getIdcPlanPage(ProducePlanRequest idcPlanRequest);

    PageInfo<EmProducePlanEntity> getNcPlanPage(ProducePlanRequest idcPlanRequest);

    EmProducePlanEntity getIdcPlanDetail(Integer id);

    EmProducePlanEntity getNcPlanDetail(Integer id);
    
    EmProducePlanEntity getProducePlan(String orderCOde) throws BaseException;
    
    Boolean updatePlanStatus(EmProducePlanEntity emProducePlanEntity);
    
}
